﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Jhw.Common.Model
{
    public class BizException:Exception
    {
        /// <summary>
        /// 业务逻辑异常
        /// </summary>
        public string BizExceptionMsg { get; set; }
        public BizException(string bizMsg,string hiddenMsg ="")
        {
            this.BizExceptionMsg = bizMsg;
            this.HiddenMsg = hiddenMsg;
        }
        /// <summary>
        /// 隐藏内容
        /// 不用暴露给客户端的内容
        /// </summary>
        public string HiddenMsg { get; set; }

    }
}
